Skip to content

Fix bug in find-changes workflow & rename workflows for greater clarity#874

Merged
mhucka merged 2 commits intomasterfrom
mh-fix-find-changes-workflow
Aug 24, 2025
Merged

Fix bug in find-changes workflow & rename workflows for greater clarity#874
mhucka merged 2 commits intomasterfrom
mh-fix-find-changes-workflow

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Aug 24, 2025

The values from called workflows turn out to always be strings, even when you try to make sure to produce Booleans. This means tests of values output by workflows called by other workflows have to be of the form ${{variable == 'true'}} rather than (e.g.) ${{variable}} or even ${{variable == true}}. This is poorly documented in GitHub's documentation, IMHO, and incredibly error-prone.

Along with fixing the conditionals, this PR renames the reusable workflow files to start with leading underscore characters. That seems to be more conventional in other GitHub repos.

@github-actions github-actions Bot added size: S 10< lines changed <50 size: M 50< lines changed <250 and removed size: S 10< lines changed <50 labels Aug 24, 2025
The values from workflow calls turn out _always_ to be strings,
even when you try to make sure to produce Booleans. This means
tests of values output by workflows called by other workflows
have to be of the form `${{variable == 'true'}}` rather than
(e.g.) `${{variable}}` or even `${{variable == true}}`. This is
poorly documented in GitHub's documentation, IMHO.

Along with fixing the conditionals, this PR renames the reusable
workflow files to start with leading underscore characters. That
seems to be more conventional in other GitHub repos.
@mhucka mhucka force-pushed the mh-fix-find-changes-workflow branch from 75b940f to 27a5680 Compare August 24, 2025 22:55
@mhucka mhucka force-pushed the mh-fix-find-changes-workflow branch from de32cc4 to 0fa053d Compare August 24, 2025 23:05
@mhucka mhucka marked this pull request as ready for review August 24, 2025 23:15
@mhucka mhucka merged commit e658e6a into master Aug 24, 2025
49 checks passed
@mhucka mhucka deleted the mh-fix-find-changes-workflow branch August 24, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: M 50< lines changed <250

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant